﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DataTier
{
    public class ExpenseContainer
    {
        public List<Expense> _expenses { get; set; }
        public List<Expense> _editedExpenses { get; set; }
        private static ExpenseContainer _instance = null;

        public ExpenseContainer()
        {
            _expenses = new List<Expense>();
            _editedExpenses = new List<Expense>();
        }

        public static ExpenseContainer Instance
        {
            get
            {
                if (_instance == null)
                {
                    _instance = new ExpenseContainer();
                }

                return _instance;
            }
        }

    }

}
